package com.neusoft.mapper;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface CheckRequestMapper {
    void insert(Map<String, Object> checkRequest);

    Integer selectFinshCheck();

    List<Integer> selectWaitCheck();

    void updateCheckRequestTable(@Param("checkId") Integer checkId, @Param("employeeId") Integer employeeId, @Param("checkTime") LocalDateTime checkTime);

    void updateCheckState(Integer medicalTechnologyId);

    void updateState(Integer integer);

    List<Map<String, Object>> selectMedicalTechnology(String realName);

//y
    Page<Map<String, Object>> selectAllRegisterId(Integer registerId);
//y
    void update(Map<String, Object> register);
}
